<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Museum</title>
<link rel="stylesheet" type="text/css" href="css/Style.css" />
<link href='http://fonts.googleapis.com/css?family=Lily+Script+One' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Rock+Salt' rel='stylesheet' type='text/css'>
</head>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
int isAdmin = 0;
String visitorName=null;
Cookie cookie= null;
Cookie[] cookies=request.getCookies();
if(cookies!=null){
	for(int i=0; i<cookies.length; i++){
		cookie=cookies[i];
		if(cookie.getName().compareTo("user")==0)
		visitorName=cookie.getValue();
	}
}
%>
<c:set var="userName" value="<%= visitorName%>"></c:set>


<body>

<header class="cabecera">

<div class="image">

	<img src="Images/Skyline.png" alt="My title image">

 
 
	<c:if test="${userName!=null}">
	<div class="login"> 
		<img src="Images/icon.png" alt="icono">
		<a href="InfVisitorServlet"><c:out value="${userName}"></c:out></a> / <a href="index.jsp">LogOut</a>
	</div>
	</c:if>
	<c:if test="${userName==null}">
	<div class="login"> 
 		<img src="Images/icon.png" alt="icono">
 		
 		<a href="login.jsp">Login</a> / <a href="visitorRegister.jsp">SignIn</a>
	</div>
	</c:if>
</div>

<!-- Menu -->
<nav class="nav"> 
	<ul class="menu">
		<c:if test="${userName!=null}">
		<li><a href="index2.jsp"> Home</a></li>
		</c:if>
		<c:if test="${userName==null}">
		<li><a href="index.jsp"> Home</a></li>
		</c:if>
		<li><a href="#"> North Town</a>
			<ul>
				<li><a href="museum.jsp"> Museum</a></li>
				<li><a href="theater.jsp"> Theater</a></li>
				<li><a href="stadium.jsp"> Stadium</a></li>
				<li><a href="business.jsp"> Business</a></li>
			</ul>
		</li>
		<li><a href="#"> South Town</a>
			<ul>
				<li><a href="park.jsp"> Park</a></li>
				<li><a href="zoo.jsp"> Zoo</a></li>
				<li><a href="attractions.jsp"> Attractions</a></li>
				<li><a href="markets.jsp"> Markets</a></li>
			</ul>
		</li>
		<c:if test="${userName!=null}">
		<li><a href="EventServlet"> Events</a></li>
		</c:if>
		<c:if test="${userName==null}">
		<li><a href="login.jsp"> Events</a></li>
		</c:if>
	</ul>
 </nav>


</header>

<div class="Container">
	<h2>Museum</h2>
	<div class="text">
		<img src="Images/moma.jpg" align="left"hspace="10" width="30%">
		<p> A museum is an institution that cares for (conserves) a collection 
		of artifacts and other objects of scientific, artistic, cultural, or 
		historical importance and makes them available for public viewing 
		through exhibits that may be permanent or temporary. Most large 
		museums are located in major cities throughout the world and more 
		local ones exist in smaller cities, towns and even the countryside. 
		Museums have varying aims, ranging from serving researchers and 
		specialists to serving the general public. The continuing acceleration
		 in the digitization of information, combined with the increasing 
		 capacity of digital information storage, is causing the traditional 
		 model of museums (i.e. as static "collections of collections" of 
		 three-dimensional specimens and artifacts) to expand to include 
		 virtual exhibits and high-resolution images of their collections for 
		 perusal, study, and exploration from any place with Internet.
		 The city with the largest number of museums is Mexico City with over 
		 128 museums. According to The World Museum Community, there are more 
		 than 55,000 museums in 202 countries</p>
	
		<p>The English "museum" comes from the Latin word, and is pluralized 
		as "museums" (or rarely, "musea"). It is originally from the Ancient 
		Greek Μουσεῖον (Mouseion), which denotes a place or temple dedicated 
		to the Muses (the patron divinities in Greek mythology of the arts), 
		and hence a building set apart for study and the arts,[3] especially 
		the Musaeum (institute) for philosophy and research at Alexandria by 
		Ptolemy I Soter about 280 BCE.[4] The first museum/library is 
		considered to be the one of Plato in Athens. However, Pausanias 
		gives another place called "Museum," namely a small hill in Classical 
		Athens opposite the Akropolis. The hill was called Mouseion after 
		Mousaious, a man who used to sing on the hill and died there of old 
		age and was subsequently buried there as well </p>
		
		<p>The purpose of modern museums is to collect, preserve, interpret, 
		and display items of cultural, artistic, or scientific significance 
		for the education of the public. The purpose can also depend on one’s
		 point of view. To a family looking for entertainment on a Sunday 
		 afternoon, a trip to a local history museum or large city art 
		 museum could be a fun, and enlightening way to spend the day. To 
		 city leaders, a healthy museum community can be seen as a gauge of 
		 the economic health of a city, and a way to increase the 
		 sophistication of its inhabitants </p>
	</div>
	
	<div class="photo"></div>
</div>

<footer> Copyright @ 2015 All rights reserved </footer>	
</body>
</html>